home *** CD-ROM | disk | FTP | other *** search
- ;------------------------------------------------------------------------------
- ; .ss.
- ; `²²'
- ; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
- ; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
- ; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
- ; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
- ; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
- ; .sS²°$$$²²°"' d²°'
- ; .$$² .$$'
- ; $$$.,d$$'
- ; `²S$$S²'
- ;------------------------------------------------------------------------------
- ; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
- ;------------------------------------------------------------------------------
- ; PPE 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
- ;------------------------------------------------------------------------------
-
- Integer INTEGER002
- Integer INTEGER003
- Integer INTEGER004
- Integer INTEGER005
- Integer INTEGER006
- Integer INTEGER007
- Money MONEY001
- String STRING001
- String STRING002
- String STRING003
- String STRING004
- String STRING005
- String STRING006
- String STRING007
- String STRING008
- String STRING009
- String STRING010
- String STRING011
- String STRING012
- String STRING013
- String STRING014
- String STRING015
- String STRING016
- String STRING017
- String STRING018
- String STRING019
- String STRING020
- String STRING021
- String STRING022
- String STRING023
- String STRING024
- String STRING025
- String STRING026
- String STRING027
- String STRING028
-
- ;------------------------------------------------------------------------------
-
- STRING001 = PPEPath() + "SECURE" + String(CurSec())
- If (Exist(STRING001)) Then
- DispFile PPEPath() + "SECURE", 2 + 1 + 4
- Delay 91
- End
- Endif
- :LABEL001
- STRING002 = PPEPath() + "OCCPS.CFG"
- STRING003 = ReadLine(STRING002, 1)
- STRING004 = ReadLine(STRING002, 2)
- STRING005 = ReadLine(STRING002, 3)
- INTEGER002 = Asc(Mid(STRING003, 1, 1)) + Asc(Mid(STRING003, 2, 1)) + Asc(Mid(STRING003, 3, 1)) + Asc(Mid(STRING003, 4, 1)) + Asc(Mid(STRING003, 5, 1)) + Asc(Mid(STRING003, 6, 1)) + Asc(Mid(STRING003, 7, 1)) + Asc(Mid(STRING003, 8, 1)) + Asc(Mid(STRING003, 9, 1)) + Asc(Mid(STRING003, 10, 1))
- INTEGER003 = Asc(Mid(STRING004, 1, 1)) + Asc(Mid(STRING004, 2, 1)) + Asc(Mid(STRING004, 3, 1)) + Asc(Mid(STRING004, 4, 1)) + Asc(Mid(STRING004, 5, 1)) + Asc(Mid(STRING004, 6, 1)) + Asc(Mid(STRING004, 7, 1)) + Asc(Mid(STRING004, 8, 1))
- INTEGER004 = Asc(Mid(STRING003, 11, 1)) + Asc(Mid(STRING003, 12, 1)) + Asc(Mid(STRING003, 13, 1)) + Asc(Mid(STRING003, 14, 1)) + Asc(Mid(STRING003, 15, 1)) + Asc(Mid(STRING003, 16, 1)) + Asc(Mid(STRING003, 17, 1)) + Asc(Mid(STRING003, 18, 1)) + Asc(Mid(STRING003, 19, 1)) + Asc(Mid(STRING003, 20, 1))
- STRING006 = String(INTEGER002) + String(INTEGER003) + String(INTEGER004)
- Cls
- PrintLn ""
- PrintLn " @X7F ┌───────────────────────────────────────────────────────────────@X70┐ @X0F"
- PrintLn " @X7F │ @X70 ONLINE CREDIT CARD PROCESSOR SYSTEM 4.5 @X70│ @X0F"
- PrintLn " @X7F │ @X70 @BOARDNAME:45C@ @POS:72@@X70│ @X0F"
- PrintLn " @X7F │ @X70│ @X0F"
- PrintLn " @X7F │ @X71The use of an invalid credit card or unauthorized use of one @X70│ @X0F"
- PrintLn " @X7F │ @X71for the purpose of accessing this board constitutes fraud and @X70│ @X0F"
- PrintLn " @X7F │ @X71will be reported to the proper law enforcement agencies. @X70│ @X0F"
- PrintLn " @X7F └@X70───────────────────────────────────────────────────────────────┘ @X0F"
- PrintLn ""
- PrintLn " @X4F ┌───────────────────────────────────────────────────────────────@X40┐ @X0F"
- PrintLn " @X4F │ @X40Registering with a credit card you will receive an @X4FIMMEDIATE @X40│ @X0F"
- PrintLn " @X4F │ @X40access upgrade for use during this session. @X40│ @X0F"
- PrintLn " @X4F └@X40───────────────────────────────────────────────────────────────┘ @X0F"
- PrintLn ""
- PrintLn " @X13 ┌─────────────────────────────────────────────────────@X10┐ @X0F"
- PrintLn " @X13 │ @X1EType @X1D1@X1E to Register using your credit card. @X10│ @X0F"
- PrintLn " @X13 │ @X1EType @X1D2 @X1Eto Order Products with a credit card. @X10│ @X0F"
- PrintLn " @X13 │ @X1EType @X1D3 @X1Eto Download REGISTER.ZIP and send by mail. @X10│ @X0F"
- PrintLn " @X13 └@X10-────────────────────────────────────────────────────┘ @X0F"
- PrintLn ""
- STRING007 = ""
- InputStr "@X0BWhich type registration would you prefer (@X0D1@X0B-@X0D3@X0B)@X07", STRING007, 10, 1, "123", 270
- Select Case (STRING007)
- Case "1"
- Log "*** Entered OCCPS with Credit Card Option ***", 0
- Gosub LABEL002
- Case "2"
- Log "*** Entered Product Ordering section of OCCPS ***", 0
- Call PPEPath() + "PRODUCT.PPE"
- Gosub LABEL001
- Case Else
- If (STRING007 == "3") Then
- Log "*** Downloaded registration form via OCCPS ***", 0
- KbdStuff "D;REGISTER.ZIP" + Chr(13)
- End
- Endif
- End
- End Select
- :LABEL002
- Cls
- DispFile PPEPath() + "CATLOG", 2 + 1 + 4
- FAppend 1, PPEPath() + "CHARGE.LOG", 2, 3
- INTEGER005 = ""
- InputInt "@X0B(@X0D#@X0B-@X0D##@X0B) of Selection, (@X0DEnter@X0B) TO Quit @X07", INTEGER005, 10
- PrintLn ""
- If (INTEGER005 == "") Goto LABEL003
- INTEGER006 = Left(ReadLine(STRING002, INTEGER005 + 3), 3)
- INTEGER007 = Mid(ReadLine(STRING002, INTEGER005 + 3), 5, 3)
- MONEY001 = Right(ReadLine(STRING002, INTEGER005 + 3), 7)
- If (INTEGER006 == 0) Then
- Gosub LABEL002
- Endif
- Log "*** Placed order for Selection No " + String(INTEGER005) + " via OCCPS ***", 0
- FPutLn 1, "********************** OCCPS v4.5 (Registered) *********************"
- FPutLn 1, "ORDERED: Selection No " + String(INTEGER005) + " Amount: " + String(MONEY001)
- FPutLn 1, "Level " + String(INTEGER006) + " Subscription"
- FPutLn 1, " "
- Goto LABEL004
- :LABEL003
- Cls
- FClose 1
- Gosub LABEL001
- :LABEL004
- InputCC "Enter credit card number", STRING008, 15
- If (STRING008 == "") Then
- Cls
- FClose 1
- End
- Endif
- STRING024 = PPEPath() + "BADCARD.DAT"
- FOpen 3, STRING024, 0, 2
- :LABEL005
- If (Ferr(3)) Goto LABEL006
- FGet 3, STRING025
- If (STRING008 == STRING025) Then
- Log "Attempted to use a credit card from the BADCARD.DAT file", 0
- PrintLn ""
- PrintLn ""
- PrintLn " @X8FYou have attempted to use a credit card previously identified"
- PrintLn " @X8Fas @X8CUNCOLLECTABLE"
- PrintLn ""
- Delay 91
- FClose 3
- STRING008 = ""
- Goto LABEL002
- Endif
- Goto LABEL005
- :LABEL006
- If (ValCC(STRING008) && (CCType(STRING008) <> "UNKNOWN")) Then
- STRING026 = PPEPath() + "CCARDS.CFG"
- FOpen 2, STRING026, 0, 2
- :LABEL007
- If (Ferr(2)) Goto LABEL008
- FGet 2, STRING027
- If (RTrim(Left(CCType(STRING008), 20), " ") == STRING027) Then
- FClose 2
- Gosub LABEL009
- Endif
- Goto LABEL007
- :LABEL008
- FClose 2
- PrintLn ""
- PrintLn ""
- PrintLn "@X0ECurrently we are not able to accept @X0B", Left(CCType(STRING008), 20)
- PrintLn "@X0EPlease use a different card or register by mail"
- PrintLn ""
- Log "Attempted to use a " + Left(CCType(STRING008), 20) + " Credit Card", 0
- Wait
- STRING008 = ""
- Goto LABEL002
- Endif
- PrintLn ""
- PrintLn ""
- PrintLn "@X0EThis is an @X0CINVALID @X0ECredit Card number!"
- PrintLn ""
- Delay 91
- Log "Attempted to use an INVALID Credit Card number", 0
- STRING008 = ""
- Goto LABEL002
- :LABEL009
- PrintLn ""
- PrintLn "@X0EThis card was issued by: @X0B", Left(CCType(STRING008), 20)
- PrintLn "@X0E The account number is: @X0B", FmtCC(STRING008)
- FPutLn 1, " User: " + U_Name()
- FPutLn 1, " Date: " + String(Date()) + " (" + String(Time()) + ")"
- FPutLn 1, " Card Type: " + Left(CCType(STRING008), 20)
- FPutLn 1, " Card Number: " + FmtCC(STRING008)
- :LABEL010
- STRING010 = ""
- PrintLn ""
- PrintLn "@X0EEnter the Card Expiration Date (MM/YY as shown on card using leading zeros)"
- InputStr "", STRING010, 11, 5, "0123456789" + "/", 64
- If (STRING010 == "99/99") Then
- End
- Endif
- STRING022 = Mid(STRING010, 4, 2)
- STRING021 = Mid(STRING010, 1, 2)
- STRING023 = STRING022 + "/" + STRING021
- STRING019 = String(Year(Date()))
- If (Month(Date()) < 10) Then
- STRING018 = "0" + String(Month(Date()))
- Else
- STRING018 = String(Month(Date()))
- Endif
- STRING020 = Right(STRING019, 2) + "/" + STRING018
- If (STRING010 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL010
- ElseIf (STRING023 < STRING020) Then
- PrintLn "@X8CYou have entered an Expired Card! Are you using leading zeros?"
- Log "Attempted to use an EXPIRED Credit Card dated: " + STRING010, 0
- Gosub LABEL010
- Endif
- FPutLn 1, " Expiration Date: " + STRING010
- FPutLn 1, " "
- :LABEL011
- STRING009 = ""
- PrintLn ""
- PrintLn "@X0EEnter the Cardholder's Name (as shown on card)"
- InputStr "", STRING009, 11, 25, Mask_AlNum() + " " + ".", 64
- If (STRING009 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL011
- Endif
- FPutLn 1, " Cardholder's Name: " + STRING009
- :LABEL012
- STRING011 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's Street Address (Line 1)"
- InputStr "", STRING011, 11, 25, Mask_AlNum() + " ", 64
- If (STRING011 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL012
- Endif
- FPutLn 1, "Cardholder's Address: " + STRING011
- STRING012 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's Suite or Apartment Number"
- InputStr "", STRING012, 11, 25, Mask_AlNum() + " ", 64
- If (STRING012 <> "") Then
- FPutLn 1, " : " + STRING012
- Endif
- :LABEL013
- STRING013 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's City (without state)"
- InputStr "", STRING013, 11, 25, Mask_AlNum() + " ", 64
- If (STRING013 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL013
- Endif
- :LABEL014
- STRING014 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's State"
- InputStr "", STRING014, 11, 4, Mask_Alpha(), 64
- If (STRING014 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL014
- Endif
- :LABEL015
- STRING015 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's Zip Code"
- InputStr "", STRING015, 11, 10, Mask_AlNum() + "-", 64
- If (STRING015 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL015
- Endif
- FPutLn 1, " : " + STRING013 + ", " + STRING014 + " " + STRING015
- :LABEL016
- STRING016 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's Home Phone Number"
- InputStr "", STRING016, 11, 12, Mask_Num() + "-", 64
- If (STRING016 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL016
- Endif
- FPutLn 1, " Home Phone Number: " + STRING016
- :LABEL017
- STRING017 = ""
- PrintLn ""
- PrintLn "@X0ECardholder's Work Phone Number"
- InputStr "", STRING017, 11, 12, Mask_Num() + "-", 64
- If (STRING017 == "") Then
- PrintLn "@X8CEntry Required for Processing"
- Gosub LABEL017
- Endif
- FPutLn 1, " Work Phone Number: " + STRING017
- FPutLn 1, " "
- FPutLn 1, "Credit Card Processing Completed Normally"
- FClose 1
- PrintLn ""
- GetUser
- If (CurSec() < INTEGER006) Then
- PrintLn "Raising your security access to level " + String(INTEGER006) + "..."
- U_Sec = INTEGER006
- U_ExpDate = Date() + INTEGER007
- PrintLn ""
- PrintLn "Automatic upgrade Complete!"
- ElseIf (CurSec() == INTEGER006) Then
- PrintLn "Extending your level " + String(INTEGER006) + " security access..."
- U_ExpDate = U_ExpDate + INTEGER007
- PrintLn ""
- PrintLn "Automatic upgrade Complete!"
- Else
- PrintLn "Level requested is lower than existing level"
- PrintLn "No change in level made"
- Message 0, "SYSOP", "OCCPS", "Security Level Conflict", "R", 0, 0, 0, PPEPath() + "CONFLICT.TXT"
- Endif
- PutUser
- PrintLn ""
- PrintLn "Your subscription will expire on ", U_ExpDate
- PrintLn ""
- PrintLn "@X0FThank you @X0D@USER@ @X0Ffor your order"
- Log "Completed Credit Card Processing!", 0
- Message 0, "SYSOP", "OCCPS", "Credit Card Registration", "R", 0, 0, 0, PPEPath() + "NOTIFY.TXT"
- Message 0, U_Name(), "SYSOP", "BBS Subscription", "R", 0, 0, 0, PPEPath() + "USERMSG.TXT"
- STRING028 = PPEPath() + "INFORM"
- If (Exist(STRING028)) Then
- DispFile PPEPath() + "INFORM", 2 + 1 + 4
- Delay 91
- Endif
- End
-
- ;------------------------------------------------------------------------------
- ;
- ; Usage report (before postprocessing)
- ;
- ; ■ Statements used :
- ;
- ; 6 End
- ; 4 Cls
- ; 1 Wait
- ; 41 Goto
- ; 39 Let
- ; 79 PrintLn
- ; 27 If
- ; 3 DispFile
- ; 2 FOpen
- ; 1 FAppend
- ; 6 FClose
- ; 2 FGet
- ; 18 FPutLn
- ; 1 GetUser
- ; 1 PutUser
- ; 9 Log
- ; 10 InputStr
- ; 1 InputInt
- ; 1 InputCC
- ; 14 Gosub
- ; 4 Delay
- ; 1 KbdStuff
- ; 1 Call
- ; 3 Message
- ;
- ;
- ; ■ Functions used :
- ;
- ; 99 +
- ; 18 ==
- ; 2 <>
- ; 3 <
- ; 27 !
- ; 1 &&
- ; 31 Mid()
- ; 6 Left()
- ; 2 Right()
- ; 2 Ferr()
- ; 1 Chr()
- ; 28 Asc()
- ; 1 RTrim()
- ; 6 Date()
- ; 1 Time()
- ; 2 U_Name()
- ; 1 Year()
- ; 3 Month()
- ; 15 String()
- ; 1 Mask_Alpha()
- ; 2 Mask_Num()
- ; 5 Mask_AlNum()
- ; 13 PPEPath()
- ; 6 ReadLine()
- ; 3 CurSec()
- ; 2 Exist()
- ; 1 ValCC()
- ; 2 FmtCC()
- ; 6 CCType()
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Analysis flags : WC
- ;
- ; W - Write user ■ 5
- ; Program writes a user record. Although this may be normal for a
- ; User Editor, it may also be a way to modify an account level.
- ; ■ Search for : PUTUSER
- ;
- ; C - Call child PPE ■ 3
- ; This is usually normal, but may be a tricky way to launch some
- ; sysop-only commands.
- ; ■ Search for : CALL
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Postprocessing report
- ;
- ; 0 For/Next
- ; 0 While/EndWhile
- ; 22 If/Then or If/Then/Else
- ; 1 Select Case
- ;
- ;------------------------------------------------------------------------------
- ; AEGiS Corp - Break the routines, code against the machines!
- ;------------------------------------------------------------------------------
-